package com.Algorithm.Study.ThinkTest;

public class YiHuoTest {
    public static void main(String[] args) {

        int arr[] = new int[]{1,2,3,4,-5,-6};  // 100  100000001100

        int eor = 0;
        for (int i : arr) {
            eor = eor^i;
            System.out.println(eor);
        }

    }
}


// a ^b ^a == 就会消失
// 那么 a ^ b ^ a ^ a ---a就会出现,而本身就单数的消失
